package com.mc.system.service.impl;

import com.mc.system.domain.SysArea;
import com.mc.system.mapper.SysAreaMapper;
import com.mc.system.service.IsysAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysAreaServiceImpl implements IsysAreaService {
    @Autowired
    private SysAreaMapper sysAreaMapper;

    @Override
    public List<SysArea> selectSysAreaList(SysArea sysArea) {
        return sysAreaMapper.selectSysAreaList(sysArea);
    }

    @Override
    public int insertSysArea(SysArea sysArea) {
        return sysAreaMapper.insertSysArea(sysArea);
    }

    @Override
    public int updateSysArea(SysArea sysArea) {
        return sysAreaMapper.updateSysArea(sysArea);
    }
}
